package dcc.mbg.dao;

import dcc.mbg.model.MSubtable;
import dcc.mbg.model.MSubtableExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MSubtableMapper {
    int countByExample(MSubtableExample example);

    int deleteByExample(MSubtableExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MSubtable record);

    int insertSelective(MSubtable record);

    List<MSubtable> selectByExample(MSubtableExample example);

    MSubtable selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MSubtable record, @Param("example") MSubtableExample example);

    int updateByExample(@Param("record") MSubtable record, @Param("example") MSubtableExample example);

    int updateByPrimaryKeySelective(MSubtable record);

    int updateByPrimaryKey(MSubtable record);
}